package com.rtx;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

/**
 * 设备接口排除多份只保留一份实现
 * ESS为海柔实现 com.rtx.wcs.ess
 * ECS为海康实现 com.rtx.wcs.ecs
 * @author Administrator
 *
 */
@ComponentScan(value = "com.rtx",excludeFilters = {
		@ComponentScan.Filter(type=FilterType.REGEX,pattern = {
				"com.rtx.wcs.+",
				"com.rtx.wcs.ecs.+",
				"com.rtx.wcs.ess.+",
		})	
})
@SpringBootApplication
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
